package com.sugar.subscribe.course.module.business.controller.app.serviceclass.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "APP - 服务分类 Response VO")
@Data
public class AppServiceClassRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5381")
    private Long id;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    private String name;

    @Schema(description = "分类图标", requiredMode = Schema.RequiredMode.REQUIRED)
    private String icon;

    @Schema(description = "父级分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19230")
    private Long parentId;

    @Schema(description = "子级分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "19230")
    private List<AppServiceClassRespVO> children;
}
